# koroFileHeader at Yungoal acer
# Create: 2022-10-08 17:00:34
# LastEdit: 2022-10-27 16:53:38
"""说明暂无"""
__author__ = '749B'

from django.urls import path
from django.views.decorators.cache import cache_page

from . import views

app_name = 'billing'
urlpatterns = [
    path('', views.home.home, name='home'),
    path('panel_last_summary', views.home.panel_last_summary, name='panel_last_summary'),
    path('panel_account', views.home.panel_account, name='panel_account'),
    path('panel_top_service', views.home.panel_top_service, name='panel_top_service'),
    path('pie_service', views.home.pie_service, name='pie_service'),
    path('panel_top_subscription', views.home.panel_top_subscription, name='panel_top_subscription'),
    path('pie_subscription', views.home.pie_subscription, name='pie_subscription'),

    path('monthly/', views.primary.monthly, name='monthly'),
    path('cost_monthly/', cache_page(28800)(views.primary.cost_monthly), name='cost_monthly'),
    path('table/', views.primary.table, name='table'),
    path('cost_table/', cache_page(28800)(views.primary.cost_table), name='cost_table'),

    path('last30days/', views.daily.last30days, name='last30days'),
    path('cost_last30days/', cache_page(28800)(views.daily.cost_last30days), name='cost_last30days'),
    path('daily_picker/', views.daily.daily_picker, name='daily_picker'),
    path('cost_daily_picker/', cache_page(28800)(views.daily.cost_daily_picker), name='cost_daily_picker'),
    
    path('compare', views.verify.compare, name='compare'),
    path('compare_monthly', cache_page(28800)(views.verify.compare_monthly), name='compare_monthly'),

    path('screen', views.primary.screen, name='screen'),
    path('cost_screen', views.primary.cost_screen, name='cost_screen'),

    path('cpp_count/', views.cpp.cpp_count, name='cpp_count'),
    path('table_cpp_count/', views.cpp.table_cpp_count, name='table_cpp_count'),

    path('feature/', views.generic.feature, name='feature'),
    path('feature/<str:name>/', views.generic.feature, name='feature'),
    path('about/', views.generic.about, name='about'),
    ]
    